package com.groupbuying.sysconfig.service.notify;

import com.groupbuying.sysconfig.utils.apiresult.ApiResult;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Auther Davidbieber
 * @Email davidbieber@163.com
 * @Date 2019/10/17 11:52 AM
 */
public interface NotifyTemplate {

    /**
     * 微信公众号模板消息
     * @param params
     * @return
     */
    ApiResult doWechatAppTemplateNotify(Map<String, Object> params);

    /**
     * 微信小程序模板消息
     * @param params
     * @return
     */
    ApiResult doWechatMiniTemplateNotify(Map<String, Object> params);

    /**
     * 支付宝生活号模板消息
     * @param params
     * @return
     */
    ApiResult doAlipayAppTemplateNotify(Map<String, Object> params);

    /**
     * 支付宝小程序模版消息
     * @param params
     * @return
     */
    ApiResult doAlipayMiniTemplateNotify(Map<String, Object> params);
}
